/* pages/scenicdetails/scenicdetails.wxss */
page {
  padding: 0rpx;
}

view {
  .imghead {
    image {
      width: 100%;
    }
  }

  .name {
    display: flex;
    flex-direction: column;
    background-color: white;

    .names {
      padding: 10rpx;
      border-bottom: 1rpx solid rgb(204, 204, 204);
      margin: 20rpx;

      text:first-of-type {
        font-size: 35rpx;
        font-weight: bold;
        display: block;
      }

      .fiveA {
        color: gray;
        font-size: 24rpx;
      }
    }

    .star {
      border-bottom: 1rpx solid rgb(204, 204, 204);
      margin: 20rpx;

      text {
        &:first-of-type {
          color: #3B99FB;
          font-weight: bold;
        }

        &:last-of-type {
          margin-top: -30rpx;
          font-size: 28rpx;
          float: right;
        }
      }
    }

    .yupiao {
      border-bottom: 1rpx solid #ccc; 
      margin: 20rpx;
      padding-bottom: 10rpx;
      text {
        padding-left: 10rpx;
        font-size: 28rpx;
      }
    
      .cz, .jz {  
        padding: 8rpx;
        font-size: 20rpx;
        border: none;
        color: white;
        border-radius: 10rpx;
        margin-left: 30rpx;
      }
    
      .cz {
        background-color: #3B99FB;
      }
    
      .jz {
        background-color: red;
      }
    }

    .starttime,
    .address {
      margin: 20rpx;
      border-bottom: 1rpx solid rgb(204, 204, 204);
      padding: 8rpx;
    }

    .starttime {
      font-size: 28rpx;
    }

    .address image {
      float: right;
      width: 40rpx;
      height: 40rpx;
    }
  }

  .time {
    margin: 20rpx;
    background-color: white;
    padding: 5rpx;
      display: flex;
      align-items: center; /* 垂直居中 */
    

    .lef {
      flex: 1; /* 占据剩余空间 */
  overflow-x: auto;
      width: 75%; /* 确保宽度足够 */
      overflow-x: auto; /* 确保可以滚动 */
      scroll-behavior: smooth; /* 可选：平滑滚动 */
      white-space: nowrap;
      border-radius: 20rpx;

      align-items: center;

      view {
        border: 1px solid gray;
        display: flex;
        justify-content: space-between;
        padding: 20rpx 34rpx 20rpx;
        display: inline-block;
        align-items: center;
        text-align: center;
        font-size: 24rpx;
        background-color: #fff;
        margin: 8rpx;
        border-radius: 10rpx;
      }

    }

    .rig {
margin-left: auto; /* 自动挤到最右侧 */
  width: 150rpx;
  text-align: center;
  padding: 52rpx 10rpx;
  background: white;
  color: #3B99FB;
  box-shadow: -8px 0 10px -5px rgba(0, 0, 0, 0.2);
    }
  }

  .nav {
    background-color: white;
    padding: 20rpx;
    margin: 10rpx;
    display: flex;
    justify-content: space-between;
  }
/* ============== comment.wxss ============== */

.comment{
  padding:20rpx;
  background:#fafafa;
}

.comment-title{
  font-size:40rpx;
  font-weight:bold;
  margin-bottom:20rpx;
  padding-left:10rpx;
  color:#333;
}


.comment-item{
  display:flex;
  margin-bottom:30rpx;
  padding:24rpx;
  background:#fff;
  border-radius:12rpx;
  box-shadow:0 2rpx 8rpx rgba(0,0,0,.05);
}

/* 头像——缩小 */
.comment-item .avatar{
  width:60rpx;          /* 原来是 80rpx */
  height:60rpx;
  border-radius:50%;
  margin-right:20rpx;
  flex-shrink:0;
}

.comment-item .comment-body{
  flex:1;
  display:flex;
  flex-direction:column;
}

.comment-item .comment-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12rpx;
}

.comment-item .username{
  font-size:30rpx;
  font-weight:600;
  color:#333;
}

.comment-item .comment-content{
  font-size:28rpx;
  line-height:1.6;
  color:#333;
  margin-bottom:16rpx;
}

/* 评论图片——缩小 */
.comment-item .comment-imgs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8rpx;
}

.comment-item .comment-imgs image{
  width:180rpx;         /* 原来是 100% 撑满 */
  height:180rpx;
  border-radius:8rpx;
}


.comment-item .comment-time{
  font-size:24rpx;
  color:#999;
  align-self:flex-end;
}


.ljt{
  width: 60rpx;
  height: 60rpx;
  margin: 30rpx 40rpx -17rpx 30rpx;
}

  .pages {
    padding: 32rpx;
    background-color: white ！;
  }

  .eeeeeeeeee {
    background-color: white;
    padding-bottom: 20rpx;
    border-radius: 10rpx;

    image {
      width: 650rpx;
      height: 180rpx;
    }
  }

  .card {
    background: #fff;
    border-radius: 16rpx;
    overflow: hidden;
    margin: 16rpx 10rpx;
    box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.5);

    /* 横排 */
    &--horizontal {
      display: flex;
      align-items: center;

      .card__img {
        width: 240rpx;
        height: 160rpx;
      }

      .card__body {
        flex: 1;
        padding: 24rpx;
      }
    }

    /* 竖排 */
    &--vertical {
      .card__img {
        width: 100%;
      }

      .card__body {
        padding: 24rpx;
      }
    }

    &__title {
      font-size: 32rpx;
      font-weight: 600;
      color: #333;
    }

    &__desc {
      font-size: 28rpx;
      color: #666;
      margin-top: 8rpx;
    }
  }

  .nav.fixed {
    position: fixed;
    top: -10rpx;
    left: 0;
    right: 0;
    z-index: 100;
  }

  .ticket {
    margin-top: 20rpx;

    .ticket-item {
      margin: 16rpx;
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      max-width: 400px;

      .ticket-info {
        margin-bottom: 16px;

        .ticket-title {
          font-weight: 600;
          color: rgb(51, 51, 51);
          margin-bottom: 4px;
          line-height: 1.4; /* 增加行高，让多行文本更易读 */
          white-space: normal; /* 默认值，但显式声明更稳妥 */
          overflow-wrap: break-word; /* 处理长单词或URL的换行 */
        }

        .ticket-desc {

          font-size: 14px;
          color: #666666;
          margin-bottom: 8px;
          line-height: 1.4;
          overflow-wrap: break-word;
        }

        .ticket-subdesc {
          font-size: 13px;
          color: #999;
        }
      }
      .ticket-info {
        /* 容器样式 */
        margin-bottom:16rpx;
      }
      
      .ticket-title {
        /* 主标题样式 */
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 6px;
        line-height: 1.3;
        /* 超出显示省略号 */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      
      .ticket-desc {
        /* 英文描述样式 */
        font-size: 14px;
        color: #666666;
        margin-bottom: 8px;
        line-height: 1.4;
        overflow-wrap: break-word;
      }
      
      .ticket-subdesc {
        /* 副标题/说明样式 */
        font-size: 13px;
        color: #999999;
        line-height: 1.5;
        /* 支持多行显示 */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
      

      .ticket-price {
        font-size: 24px;
        font-weight: bold;
        color: #ff6b35;
        margin-bottom: 16px;

        &::before {
          content: '¥ ';
          font-size: 18px;
        }
      }

      .book-btn {
        width: 100%;
        padding: 12px;
        background: linear-gradient(135deg, #ff6b35, #ff8c42);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;

        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
        }


        &:active {
          transform: translateY(0);
        }
      }

      .book-btn-display {
        width: 100%;
        padding: 12px;
        background: rgb(177, 175, 175);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;

      }

      .ticket-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 12px;

        .view-detail {
          font-size: 12px;
          color: #3B99FB;
          transition: color 0.3s;
        }
      }
    }
  }
}

.avitenum {
  border-bottom: 3px solid red;
}

.active {
  border: 1px solid red !important;
  background-color: rgb(247, 221, 221) !important;
}

/* 禁用页面交互 */
.content.disabled {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  /* 禁止所有点击事件 */
  user-select: none;
  /* 禁止文本选择 */
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.6);
  /* 半透明黑色 */
  z-index: 100;
}
.site {
  flex-shrink: 0; /* 防止日期项被压缩 */
  padding: 0 10px; /* 适当间距 */
}
.back {
  position: fixed;
  right: 30rpx;
  bottom: 100rpx;
  z-index: 9;
  transition: all 0.3s;

  image {
    width: 100rpx;
    height: 100rpx;
  }
}

van-popup {
  .two {
    background-color: white;
    border-radius: 20rpx;
    font-weight: bold;
    margin: 20rpx;
    display: flex;
    flex-direction: column;
  }

  .three {
    margin: 20rpx;

  }
}

.sa {
  padding: 16rpx;
  border-radius: 4px;
  width: 150rpx;
  margin: 20rpx 34rpx 20rpx;
  border: 1px solid black;
}


.gou {
  color: white;
  padding: 7rpx;
  background-color: rgb(219, 76, 100);
  text-align: center;
  border-radius: 10rpx 0rpx;
  position: absolute;
  margin: 10rpx 7rpx !important;
  font-size: 12rpx;
}

//你好我是底部
.footer {
  position: fixed;
  bottom: 0;
  background-color: white;
  width: 100%;
  padding: 20rpx;

  .content {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 28rpx;
    justify-content: space-between;

    &:last-child {
      margin-right: 48rpx;
    }
  }
}



.ttt{
   margin-left: 20rpx;
   padding-right: 26rpx;
  margin-right: 30rpx;
  display: inline-block;
}

.gou2 {
  color: white;
  padding: 7rpx;
  background-color: rgb(219, 76, 100);
  text-align: center;
  border-radius: 10rpx 0rpx;
  position: absolute;
  margin: 14rpx 0rpx !important;
  font-size: 14rpx;
}
.a{
    opacity: 0.5 !important;
    background: rgb(233, 231, 231) !important;
    pointer-events: none !important;
}
